/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.me.backing.navigation;

import java.util.Map;
import java.util.Set;
import javax.faces.context.FacesContext;

/**
 *
 * @author Jayasundara
 */
public class Navigator {
    private Set<String> Set;
    public String createUserProfle(){
        Map map = FacesContext.getCurrentInstance().getExternalContext().getApplicationMap();
        System.out.println("PUManager ::::: "+map.get("PUManager"));
        setState("crateUser");
        return state;
    }
    public String editUserProfle(){
        setState("editUser");
        return state;
    }
    private String state;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
